/** 
 * @(#)VO.java 1.0.0 2015年10月8日 下午1:33:31  
 *  
 * Copyright © 2015 善林金融.  All rights reserved.  
 */ 

package com.common;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import javax.persistence.GenerationType;

/**   
 * 
 *  
 * @author  HuYaHui
 * @version $Revision:1.0.0, $Date: 2015年10月8日 下午1:33:31 $ 
 */
public class VO{
	
	//主键的生成策略,默认为手动插入主键
	private GenerationType idStrategy=javax.persistence.GenerationType.AUTO;
	//序列名(在idStrategy为IDENTITY时，seqName才有值)
	private String seqName;
	//表名
	private String tableName;
	//主键对应的属性名
	private String primaryKey;
	
	private Map<String,Object> map=new LinkedHashMap<String,Object>();
	//所有的属性
	private List<String> fieldNameList=new ArrayList<String>();
	
	public String getPrimaryKey() {
		return primaryKey;
	}
	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}
	public String getSeqName() {
		return seqName;
	}
	public void setSeqName(String seqName) {
		this.seqName = seqName;
	}
	public GenerationType getIdStrategy() {
		return idStrategy;
	}
	public void setIdStrategy(GenerationType idStrategy) {
		this.idStrategy = idStrategy;
	}
	public List<String> getFieldNameList() {
		return fieldNameList;
	}
	public void setFieldNameList(List<String> fieldNameList) {
		this.fieldNameList = fieldNameList;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public Map<String, Object> getMap() {
		return map;
	}
	public void setMap(Map<String, Object> map) {
		this.map = map;
	}
}
